


def get_formatted_time(start_time, end_time):
    """
    时间样式化
    :param start_time:
    :param end_time:
    :return:
    """
    time_cost = end_time - start_time
    hours = int(time_cost // 3600)
    minutes = int((time_cost % 3600) // 60)
    seconds = int((time_cost % 3600) % 60)

    return f"{hours} 时, {minutes} 分, {seconds} 秒"